package com.wmx.hello;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author wangMaoXiong
 * @version 1.0
 * @date 2021/11/14 14:16
 */
@Service
public class HelloService {

    @Resource
    private HelloDao helloDao;

    /**
     * sayHello
     *
     * @param msg
     * @return
     */
    public String sayHello(String msg) {
        return helloDao.sayHello(msg.trim());
    }


}
